package com.zhangyj.dao;

import java.sql.SQLException;
import java.util.List;

import com.zhangyj.entitis.ProduceType;

public interface ProduceDao {
	public List<ProduceType> getTypes() throws SQLException ;
	public ProduceType loadType(String typeId) throws SQLException ;
	public ProduceType delType(String typeId) throws SQLException;
	public void saveType(ProduceType pt, boolean isUpdate) throws SQLException;
}
